package com.lexue.dao;

import java.util.List;

import com.lexue.domain.TeacherInfo;

public interface ITeacherInfo {

	public abstract void save(TeacherInfo transientInstance);

	public abstract void delete(TeacherInfo persistentInstance);
	
	public abstract List findBySysUser(Object sysUser);

	public abstract TeacherInfo findById(java.lang.Integer id);

	public abstract List findByExample(TeacherInfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByTeacherName(Object teacherName);

	public abstract List findByCardType(Object cardType);

	public abstract List findByCardNumber(Object cardNumber);

	public abstract List findBySex(Object sex);

	public abstract List findBySchool(Object school);

	public abstract List findAll();

	public abstract TeacherInfo merge(TeacherInfo detachedInstance);

	public abstract void attachDirty(TeacherInfo instance);

	public abstract void attachClean(TeacherInfo instance);
	
	public void update(Integer teacherId,String teacherName,String sex,String cardType,String cardNumber,String school);

	public abstract List searchBySubject(List subject, String way,
			String minPrice, String maxPrice, String time,String sex,String school,
			String city,String area,String isMinToMax);
	public TeacherInfo queryById(java.lang.Integer id) ;
}